<!DOCTYPE html>
<html>
<head>
<script>
if (window.internals) {
    internals.settings.setStandardFontFamily("Times", "Hans");
    internals.settings.setStandardFontFamily("", "Hans");
    internals.settings.setStandardFontFamily("Ahem", "Zyyy");

    internals.settings.setSansSerifFontFamily("Ahem", "Zyyy");
}
</script>
</head>
<body>
<!-- Test for font fallback to the common script when the per-script font setting is missing or the empty string.
Bug 81329 <https://bugs.webkit.org/show_bug.cgi?id=81329> -->
<div style="font-size: 20px">
<div lang="zh-CN">this is ahem font</div>

<!-- Test fallback to common script when no setting is set. This assumes there is no setting for "Zxxx" (script code for unwritten languages). -->
<div lang="und-Zxxx" style="font-family: sans-serif;">this is ahem font</div>
</div>
</body>
</html>
